home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Utilities / Programming / Gooey 1.2 / Gooey 68K ƒ / GooeyHelpFile / GooeyHelpFile.rsrc / STR#_209.txt < prev    next >
Encoding:
Text File  |  1991-06-02  |  1.7 KB  |  65 lines

  1. Dialogs
  2.  
  3. Dialog boxes are used to gather additional information from the user 
  4.  
  5. or provide the user with additional information about the project. 
  6.  
  7. When used to gather information from the user, dialog boxes can contain
  8.  
  9. all the zones of a window, except scroll bars.
  10.  
  11. .
  12.  
  13. When dialog boxes are used to provide information to the user, they 
  14.  
  15. typically contain static text and two buttons: OK and Cancel.   An 
  16.  
  17. example of a dialog box is the dialog that appears when About 
  18.  
  19. Marksman‚Ñ¢ is chosen from the Apple menu.  
  20.  
  21. .
  22.  
  23. !Modal Dialog Box 
  24.  
  25.    This dialog box forces all inputs to itself and does not allow menu 
  26.  
  27.    selection or other windows to be used until this dialog box is 
  28.  
  29.    closed.  The user must close the dialog box before making a 
  30.  
  31.    selection outside the dialog box or choosing a menu command.  
  32.  
  33.    Modal dialog boxes usually contain two buttons: OK and Cancel. 
  34.  
  35.    OK closes the dialog box and performs the original command.  
  36.  
  37.    Cancel closes the dialog box and cancels the original command. 
  38.  
  39.    An example of a modal dialog box is the standard open dialog box.  
  40.  
  41. .
  42.  
  43. !Modeless Dialog Box 
  44.  
  45.    This is a dialog box that works like a window and allows other 
  46.  
  47.    windows to remain active at the same time.  The user can perform 
  48.  
  49.    other operations without closing the dialog box.  A modeless dialog 
  50.  
  51.    box is closed by clicking the close box or by choosing Close from 
  52.  
  53.    the File menu.  Buttons in modeless dialog boxes seldom close the 
  54.  
  55.    dialog box. An OK button tells the computer to perform the 
  56.  
  57.    operation, leaving the dialog box open.  A Cancel button closes 
  58.  
  59.    the operation.  An example of a modeless dialog box is the Find
  60.  
  61.    dialog in a word processing application.
  62.  
  63. .
  64.  
  65.